package com.goods.business.service;

import com.github.pagehelper.PageInfo;
import com.goods.common.model.business.InStock;
import com.goods.common.model.business.OutStock;
import com.goods.common.vo.business.InStockItemVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.business.OutStockItemVO;
import com.goods.common.vo.business.OutStockVO;

public interface OutStockService {
    PageInfo<OutStockVO> findOutStockList(String pageNum, String pageSize, String status, String type, String outNum);

    PageInfo<OutStockItemVO> detail(Long id, String pageNum);

    OutStock findOneOutStock(Long id);

    void remove(Long id);

    void back(Long id);

    void publish(Long id);

    void delete(Long id);

    void add(OutStockVO outStockVO, String username);
}
